import Home from '../pages/home/index'
import My from '../pages/My/index'
import Layout from '../pages/Layout/index'

import {createBrowserRouter} from 'react-router-dom'

const router=createBrowserRouter([
    {
        path:'/',
        element:<Layout/>,
        children:[
            {path:'/',element:<Home/>},
            {path:'/my',element:<My/>}
        ]
    }
])
export default router

 